Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pagination Does Not Reset When Re-Testing Node #9463

Open
dkindlund opened this issue May 19, 2024 · 1 comment
Open

Pagination Does Not Reset When Re-Testing Node #9463

dkindlund opened this issue May 19, 2024 · 1 comment
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@dkindlund
Copy link

Bug Description

Pagination state of test output does not reset back to Page 1 upon retest operations. This causes the test output window to fail to show data on subsequent retests when the amount of data is less than the previous page. Check the reproduce steps for more detail.

To Reproduce

  1. Create a new Workflow
  2. Add a node to the workflow that will generate more than 1 page of test data (for example Airtable) and make sure to return enough data to exceed more than 1 page by adjusting the Limit param.
  3. Click the Test step button.
  4. Navigate to like the 5th page of the Output, as shown below:
image
  1. Then, while still on the 5th page of the output, change the Limit param back to 1.
  2. Click the Test step button
  3. See that the Output window is completely EMPTY:

New Note

I suspect what is happening, is that n8n attempts to "remember" that it is on the 5th page after the Test step button is clicked. And because the new test doesn't yield as many pages of output, the 5th page is INVALID, which is why the empty window is shown.

Expected behavior

I would expect that upon clicking the Test step button, that the current page RESETS back to the 1st page, accordingly.

Operating System

Google Cloud Run

n8n Version

1.41.0

Node.js Version

18.10

Database

PostgreSQL

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented May 20, 2024

Hey @dkindlund,

Thanks for the report, I managed to reproduce it with the DebugHelper node. The internal dev ticket to resolve this is ADO-2230.

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants